

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
        System.out.println("请输入姓名");
        String a=scan.nextLine();//遇到空格不会结束读取
        System.out.println(a);
        Scanner ave=new Scanner(System.in);
        String b= ave.next();//遇到空格结束读取
        System.out.println(b);

    }



}